# 导包
import app
import json


# 读取文件
def read_file():
    report = app.BASE_PATH + "/data/order.json"
    test_data = []
    with open(report, encoding="UTF-8") as f:
        case_data = json.load(f)
        for case_api in case_data:
            insert_data = case_api.get("cate")
            status_code = case_api.get("status_code")
            pass1 = case_api.get("pass1")
            test_data.append((insert_data, status_code, pass1))
    return test_data


if __name__ == '__main__':
    print(read_file())






































